//跨域代理前缀
const API_PROXY_PREFIX='/api'
// const BASE_URL = process.env.NODE_ENV === 'production' ? 'http://124.71.234.61:21021' : 'http://124.71.234.61:21021'
const BASE_URL = process.env.NODE_ENV === 'production' ? 'http://124.71.234.61:21021' : API_PROXY_PREFIX
module.exports = {
  // 登录
  LOGIN: `${BASE_URL}/api/services/app/Edu_Distributor/Login`,
  // 获取token
  Token: `${BASE_URL}/api/TokenAuth/Authenticate`,
  ROUTES: `${BASE_URL}/services/app/Session/GetCurrentLoginInformations`,
  // 获取分销商可提现交易记录
  transaction: `${BASE_URL}/api/services/app/Edu_Trade/GetCashOut`,
  //分销商记录查询
  disGetList: `${BASE_URL}/api/services/app/Edu_Trade/GetList`,
  // 提现数据  佣金查询 
  Withdrawal: `${BASE_URL}/api/services/app/Edu_CashApply/GetList`,
  // 佣金提现申请
  WithdrawalMoney: `${BASE_URL}/api/services/app/Edu_CashApply/ApplyCash`,
  // 获取分销商信息
  userData: `${BASE_URL}/api/services/app/Edu_Distributor/Get`,
  // 提交分销商信息
  postData: `${BASE_URL}/api/services/app/Edu_Distributor/Update`,
  // 创建分销商
  createDis: `${BASE_URL}/api/services/app/Edu_Distributor/Create`,
  // 提交联系人信息
  postTel: `${BASE_URL}/api/services/app/Edu_Distributor/UpdateContact`,
  // 获取银行数据
  bankData: `${BASE_URL}/api/services/app/Category/GetList`,
  //获取订单
  getOrder:`${BASE_URL}/api/services/app/Edu_OrderHed/GetList`,
  //获取分销商消费记录数量和总金额
  getCount:`${BASE_URL}/api/services/app/Edu_Trade/GetCount`,
  //获取消费记录月柱状图
  getHistogram:`${BASE_URL}/api/services/app/Edu_Trade/GetHistogram`,
  //获取分销商名下会员分布
  getMember:`${BASE_URL}/api/services/app/Edu_Distributor/MemberDist`,
  //创建分销商名下会员分布
  createMember:`${BASE_URL}/api/services/app/Edu_Distributor/Create`,
  //冻结申请
  frozen:`${BASE_URL}/api/services/app/Edu_CashApply/Frozen`,
  //拒绝申请
  deny:`${BASE_URL}/api/services/app/Edu_CashApply/Deny`,
  //完善资质认证
  updateCertificate:`${BASE_URL}/api/services/app/Edu_Distributor/UpdateCertificate`,
  //获取分销商
  getDisNo:`${BASE_URL}/api/services/app/Edu_Distributor/GetByDisNo`,
  //上传图片
  upload:`${BASE_URL}/Home/UploadFilesAsync` ,
  //获取图片
  getUpload:`${BASE_URL}/Home/GetImageAsync` ,
  //修改密码
  updatePassWord:`${BASE_URL}/api/services/app/Edu_Distributor/updatePassword`,
  //忘记密码
  forgetPassword:`${BASE_URL}/api/services/app/Edu_Distributor/ForgetPassword`,
  //获取邀请人名下的会员
  getInviteMembers:`${BASE_URL}/api/services/app/Members/GetInviterMemberss`,
  //获取银行列数据
  GetTreeData:`${BASE_URL}/api/services/app/Category/GetTreeDataAsync`,
  //申请提现
  ApplyCashOut:`${BASE_URL}/api/services/app/Edu_Distributor/ApplyCashOut`,
  //提现记录表
  ApplyHistory:`${BASE_URL}/api/services/app/Edu_CashOutAmtHistory/GetList`,
  //删除提现记录表
  delApplyHistory:`${BASE_URL}/api/services/app/Edu_CashOutAmtHistory/Delete`,
  

}


